package top.xiaoshuaila.service;

import top.xiaoshuaila.pojo.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import top.xiaoshuaila.pojo.RespBean;
import top.xiaoshuaila.pojo.RespPageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小帅啦
 * @since 2021-05-01
 */
public interface IEmployeeService extends IService<Employee> {
    RespPageBean getEmployeeByPage(Integer currentPage, Integer size
            , Employee employee, LocalDate[] beginDateScope);

    RespBean maxWorkId();

    RespBean addEmp(Employee employee);

    List<Employee> getEmployee(Integer id);

    RespPageBean getEmployeeWithSalary(Integer currenttPage, Integer size);
}
